<%@ page contentType="text/html; charset=UTF-8" language="java"%>
<%@ include file="/common/taglibs.jsp" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>管理中心 - 操作权限列表 </title>
<meta name="robots" content="noindex, nofollow"/>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="${ctx}/css/system/general.css" rel="stylesheet" type="text/css" />
<link href="${ctx}/css/system/main.css" rel="stylesheet" type="text/css" />
	<script type="text/javascript" src="${ctx}/js/checkFrameSet.js"></script>
<script type="text/javascript" src="${ctx}/js/jquery-1.3.2.min.js"></script>
</head>
<body>
<h1>
<span class="action-span"><a href="${ctx}/system/resource">新建操作权限</a></span>
<span class="action-span1"><a href="#">管理中心</a>  - 操作权限列表 </span>
<div style="clear:both"></div>
</h1>
<form method="post" action="" name="listForm">
    <c:choose>
      <c:when test="${parentId!=null}">
<div><a href="${ctx}/system/resource/list/${parentId}">返回上一层栏目列表</a></div>
      </c:when>
      <c:when test="${manage!=null}">
      </c:when>
      <c:otherwise>
<div><a href="${ctx}/system/resource/manage">返回上一层栏目列表</a></div>
      </c:otherwise>
    </c:choose>
<div class="list-div" id="listDiv">
<table width="100%" cellpadding="3" cellspacing="1" id="listTable">
  <tr>
    <th>操作权限名称</th>
    <th>状态</th>
    <th>操作</th>
  </tr>
  <c:forEach items="${resourceList}" var="itemTemp">
  <tr>
    <td class="first-cell">
    <c:choose>
      <c:when test="${itemTemp.isLeaf!=1}">
    <a href="${ctx}/system/resource/list/${itemTemp.id}" style="cosur:pointor;">${itemTemp.name}</a>
      </c:when>
      <c:otherwise>
      ${itemTemp.name}
      </c:otherwise>
    </c:choose>
    </td>
    <td align="center">
    <span>
    启用
    </span>
    </td>
    <td align="center">
      <a href="#" title="删除">删除</a> |
      <a href="${ctx}/system/resource/${itemTemp.id}" title="查看">查看</a> |
      <a href="${ctx}/system/resource/update/${itemTemp.id}" title="编辑">编辑</a> 
    </td>
  </tr>
  </c:forEach>
  </table>

</div>
<!-- end goods type list -->
</form>
</body>
</html>